#ifndef MAIN_BOARD_H
#define MAIN_BOARD_H

#include "FmodEngine.h"
#include "IrrEngine.h"
#include "MusicBoard.h"
#include "SampleBoard.h"


class MainBoard
{
public: 
	MainBoard(float x, float y);
	void Update();
	bool EventHandler(const SEvent& event);
	void Cleanup();

private:
	IGUIScrollBar* m_pMasterMusicVol;
	IGUIScrollBar* m_pMasterEffectVol;
	IGUIScrollBar* m_pCrossFader;
	IGUIScrollBar* m_pDistance;
	IGUIScrollBar* m_pReverb;
	IGUIButton* m_MuteEffects;
	IGUIButton* m_MuteMusic;
	IGUIButton* m_EffectOverride;

	float m_Fade1;
	float m_Fade2;
	float m_LastCrossPos;
	float m_CrossPos;
	MusicBoard* m_pMusic1;
	MusicBoard* m_pMusic2;
	SampleBoard* m_pSample1;
	SampleBoard* m_pSample2;
	SampleBoard* m_pSample3;
	SampleBoard* m_pSample4;
	SampleBoard* m_pSample5;
};
#endif